<?php
/**
 * Created by Zend Studio.
 * User: FDG348
 * Date: 2018/2/8
 * Time: 13:30
 */
namespace backend\models;

use yii\db\ActiveRecord;

class BrandPlus extends ActiveRecord{

    public static function tableName(){
        return '{{%brand_plus}}';
    }

    /**
     * @获取创建人
     */
    public function getCreator(){
        $userInfo = \common\helps\tools::getloginUserInfo();
        if($userInfo){
            $userName = $userInfo->userName;
        }else{
            $userName = '';
        }
        return $userName;
    }
}